import Editor from "./editor";
import {toUpperCase} from "./extend/to_upper_case";
import {undoRedo} from "./extend/undo_redo";

window.onload = () => {
    let editor = new Editor(<HTMLElement>document.getElementById('container-pre'));
    // editor = toUpperCase(editor)
    // console.log(editor)
    editor = undoRedo(editor)
    editor.init();
}